package com.sam.spring.chapter2;

import java.io.IOException;

import org.junit.Test;
import org.springframework.beans.factory.UnsatisfiedDependencyException;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class DependencyCheckTest {
	@Test(expected = UnsatisfiedDependencyException.class)
	public void testDependencyCheckByObject() throws IOException {
		new ClassPathXmlApplicationContext(
				"chapter2/dependency-check-object.xml");
	}
}
